import java.io.IOException;

public class MyCloseable implements AutoCloseable {
    @Override
    public void close() throws IOException {
        System.out.println("自定义资源关闭");
    }
}
